package com.gancp.service.base;

/**
 * @Author gancp
 * @Date 时间被黑洞吸走了
 * @Descripition 基础service
 **/
public interface BaseService<T, K> {
    int deleteByPrimaryKey(K id);

    int insert(T record);

    int insertSelective(T record);

    T selectByPrimaryKey(K id);

    int updateByPrimaryKeySelective(T record);

    int updateByPrimaryKey(T record);
}
